﻿using System.Collections.Generic;
using System.Linq;

namespace Citi.Scheduler.Domain
{
    public partial class RoutineRequisite
    {
        public List<RoutineRequisite> SelectByRoutineId(int routineId)
        {
            return new RoutineRequisite().SelectAll<RoutineRequisite>().Where(x => x.RoutineId == routineId).ToList();
        }
    }
}
